package com.christian.electronic.invoice.dao;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 文件说明：订单表实体
 *
 * @Author wang
 * @Date 2019/9/28 0:34
 */
@Data
@TableName(value = "order_master")
public class OrderMaster {

    /**
     * 订单号
     */
    @TableField(value = "order_number")
    private String orderNumber;

    /**
     * 买家名称
     */
    @TableField(value = "buyer_name")
    private String buyerName;

    /**
     * 买家电话
     */
    @TableField(value = "buyer_phone")
    private String buyerPhone;

    /**
     * 买家地址
     */
    @TableField(value = "buyer_address")
    private String buyerAddress;

    /**
     * 订单状态
     */
    @TableField(value = "order_status")
    private String orderStatus;

    /**
     * 支付状态
     */
    @TableField(value = "payment_status")
    private String paymentStatus;

    /**
     * 总金额
     */
    @TableField(value = "total_amount")
    private String totalAmount;

    /**
     * 创建时间
     */
    @TableField(value = "creation_time")
    private Date creationTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;
}
